package homework.oo3.AnimalExercise1;

public class AnimalTest {
    public static void main(String[] args) {
        Dog dog = new Dog("大金",3,"金");
        dog.eat();
        dog.drink();
        dog.lookHome();
        dog.swim();

        System.out.println("==========");
        Chick chick = new Chick("小花",5,"彩");
        chick.eat();
        chick.drink();
        chick.layEggs();

        System.out.println("==========");
        Fish fish = new Fish("小红",7,"红");
        fish.eat();
        fish.drink();
        fish.swim();

    }
}
